<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title></title>
    <script src="js/jquery.min.js"></script>
    <script src="js/iscroll.js"></script>
    <link rel="stylesheet" href="css/common.css"/>
    <link rel="stylesheet" href="css/yishijianjie.css"/>
</head>
<body>
<div id="all" style="display: none">
    <div class="box">
        <div class="box_top"></div>
        <div class="date1" id="wrapper">
            <ul class="date1_list"></ul>
            </div>
        <div class="choose_time">
            <p>选择时间段</p>
            <ul></ul>
        </div>
        </div>
    <img class="close" src="imgs/close.png" alt=""/>
    </div>
<div id="header">
    <p>医生简介</p>
    <span class="back"><a href="javascript:;window.history.go(-1)">返回</a></span>
</div>
<div id="main"> <div class="load"><img src="imgs/loading.gif" alt=""/></div></div>
<div class="bot_loading">加载中...</div>

<script id="doctor" type="text/html">
    <div class="top">
        <img src="{{doctor_info.data.avatar}}" alt=""/>
        <div class="info">
            <p class="p1"><span class="name">{{doctor_info.data.name}}</span>
                <span class="job">{{doctor_info.data.job}}</span>
                {{if doctor_info.data.f_state==1}}
                <span id="concern" class="yiguanzhu" d_id="{{doctor_info.data.id}}">已关注</span>
                {{else}}
                <span id="concern" class="guanzhu" d_id="{{doctor_info.data.id}}">关注</span>
            {{/if}}
            </p>
            <p class="p2">{{doctor_info.data.origin_company}}</p>
            <p class="p3">
                {{if doctor_info.data.pro_tag_arr!=''}}
                {{each doctor_info.data.pro_tag_arr value}}
                <span>{{value}}</span>
                {{/each}}
                {{/if}}
                {{if askurl}}
                <i class="consultation"><a href="{{askurl}}">咨询</a></i>
                {{/if}}
            </p>
        </div>
    </div>
    <div class="detail">
        <div class="one">
            <p>医生擅长：</p>
            <p>{{doctor_info.data.tech_desc}}</p>
        </div>
        <div class="one">
            <p>医生简介：</p>
            <p>{{doctor_info.data.intro}}</p>
        </div>
        <div class="one">
            <p>挂号费用：</p>
            <p>会员用户<span> {{doctor_info.data.res_vip_free}} </span>元，<i class="mo">普通用户</i><span> {{doctor_info.data.res_free}} </span>元</p>
        </div>
        <div class="two">
            <div>
                <p class="yuyue" d_id="{{doctor_info.data.id}}">立即预约</p>
                {{if doctor_info.data.user.is_vip==1}}

                {{else}}
                <a href="vip.html" class="member">会员权益</a>
                {{/if}}
            </div>
        </div>
    </div>
    <div class="comment">
        <p class="title">用户评价</p>
        <ul class="comment_list">
            {{each comment.data.data value index}}
            <li>
            <img src="{{value.face}}" alt=""/>
            <div class="text">
            <p>张三
                <strong class="star">
                    {{each value.start value }}
                        <img src="imgs/star.png" alt=""/>
                    {{/each}}
                </strong>
                <i>{{value.create_at}}</i>
            </p>
            <p>{{value.content}}</p>
            </div>
            </li>
            {{/each}}
        </ul>
    </div>
</script>
<script id="comment_list" type="text/html">
        {{each comment.data.data value index}}
        <li>
            <img src="{{wx_avatar}}" alt=""/>
            <div class="text">
                <p>张三
                    <strong class="star">
                        {{each value.start value }}
                        <img src="imgs/star.png" alt=""/>
                        {{/each}}
                    </strong>
                    <i>{{value.created_at}}</i>
                </p>
                <p>{{value.content}}</p>
            </div>
        </li>
        {{/each}}
</script>
<script id="yuyue" type="text/html">
    <img src="{{doctor_info.data.avatar}}" alt=""/>
    <div class="info1">
        <p class="p1"><span class="name">{{doctor_info.data.name}}</span> <span class="job">{{doctor_info.data.job}}</span></p>
        <p class="p2">{{doctor_info.data.origin_company}}</p>
        <p class="p3">
            {{each doctor_info.data.pro_tag_arr value}}
            <span>{{value}}</span>
            {{/each}}
        </p>
    </div>
</script>
<!--预约时间段-->
<script id="choose_date" type="text/html">
    {{each work_time.time_area1 value}}
    <li>
        {{each value.time value}}
        <span>{{value}}</span>
        {{/each}}
        {{if value.is_app==1}}
        <i class="gray" work_time="{{value.time}}">已预约</i>
        {{else}}
        {{if value.av_app==1}}
        <i class="yy"  work_time="{{value.time}}">预约</i>
        {{else}}
        <i class="gray">预约</i>
        {{/if}}
        {{/if}}
    </li>
    {{/each}}
</script>
<script id="date" type="text/html">
    {{each timeArr value}}
    <li class="date_active"><div><p class="week">{{value.week_name}}</p><p class="month_date">{{value.date}}</p></div></li>
    {{/each}}
</script>
<script src="js/jquery.cookie.js"></script>
<script src="js/config.js"></script>
<script src="js/template.js"></script>
<script src="js/ajax.js"></script>
<script src="js/doctor_info.js"></script>
</body>
</html>